package com.sina.weibo.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import com.sina.weibo.models.FavHotWord;
import java.util.Hashtable;
import java.util.Map;

public class UserTopicItemView extends LinearLayout
  implements MainListItemView
{
  private static Map<String, ListView> downloading = new Hashtable();
  private Context mContext;
  private FavHotWord mFavword;
  private ListView mParent;
  private TextView mTopicItemName;

  public UserTopicItemView(Context paramContext, ListView paramListView, FavHotWord paramFavHotWord, boolean paramBoolean)
  {
    super(paramContext);
    this.mContext = paramContext;
    this.mParent = paramListView;
    View localView = ((LayoutInflater)paramContext.getSystemService("layout_inflater")).inflate(2130903085, this);
    TextView localTextView = (TextView)findViewById(2131624138);
    this.mTopicItemName = localTextView;
    this.mTopicItemName.setVisibility(8);
    UserTopicItemView localUserTopicItemView = this;
    FavHotWord localFavHotWord = paramFavHotWord;
    boolean bool = paramBoolean;
    int i = 0;
    int j = 0;
    localUserTopicItemView.update(localFavHotWord, bool, 0, i, j);
  }

  public void update(Object paramObject, boolean paramBoolean1, boolean paramBoolean2, boolean paramBoolean3, int paramInt)
  {
    FavHotWord localFavHotWord = (FavHotWord)paramObject;
    this.mFavword = localFavHotWord;
    TextView localTextView = this.mTopicItemName;
    String str = this.mFavword.favword;
    localTextView.setText(str);
    this.mTopicItemName.setVisibility(0);
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.view.UserTopicItemView
 * JD-Core Version:    0.6.0
 */